/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoexam.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 模拟考试业务Entity
 * @author zms
 * @version 2018-04-13
 */
public class CampusinfoExamType extends DataEntity<CampusinfoExamType> {
	
	private static final long serialVersionUID = 1L;
	private String examType;		// 模拟考试
	private String examShort;		// 简介
	private String examImg;		// 图片
	
	public CampusinfoExamType() {
		super();
	}

	public CampusinfoExamType(String id){
		super(id);
	}

	@Length(min=0, max=30, message="模拟考试长度必须介于 0 和 30 之间")
	public String getExamType() {
		return examType;
	}

	public void setExamType(String examType) {
		this.examType = examType;
	}
	
	@Length(min=1, max=255, message="简介长度必须介于 1 和 255 之间")
	public String getExamShort() {
		return examShort;
	}

	public void setExamShort(String examShort) {
		this.examShort = examShort;
	}
	
	@Length(min=1, max=255, message="图片长度必须介于 1 和 255 之间")
	public String getExamImg() {
		return examImg;
	}

	public void setExamImg(String examImg) {
		this.examImg = examImg;
	}
	
}